package com.zyy.visitor.demo03;

/**
 * @Description: 类描述
 * @Author: zyy
 * @Date: 2023/08/09 23:17
 */
public class Client {
    public static void main(String[] args) {
        Animal a = new Animal();
        Cat c = new Cat();
        Dog d = new Dog();

        Execute execute = new Execute();
        execute.execete(a);
        execute.execete(c);
        execute.execete(d);
    }
}
